/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2019-12-15 15:21:28
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 列表查询
export const getList = (params) => axios.post(`${SERVER.RETAIL}/productGroup/queryList`, params)
// 详情查询
export const getDetail = (params) => axios.get(`${SERVER.RETAIL}/productGroup/findById`, {params})
// 保存
export const postSave = (params) => axios.post(`${SERVER.RETAIL}/productGroup/saveProduct`, params)
// 获取产品组
export const getTree = (params) => axios.get(`${SERVER.BASEDATA}/productGroup/tree`, {params})
